﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IntoTheVoid.Units
{
	public class DownloadStartedEventArgs : EventArgs
	{
		public DownloadStartedEventArgs(string fileName, long totalBytes)
		{
			FileName = fileName;
			TotalBytesToReceive = totalBytes;
		}

		/// <summary>
		///     Gets the total number of bytes in a System.Net.WebClient data download operation.
		/// </summary>
		/// <returns>An System.Int64 value that indicates the number of bytes that will be received.</returns>
		public long TotalBytesToReceive { get; }

		/// <summary>
		///     The name of file which is downloading
		/// </summary>
		public string FileName { get; }
	}
}
